Skip to content

785/Missing Event Dates Bug - #788

Merged
TheAbubakrAbu merged 9 commits into
devfrom
785/missing-event-dates-bug
Nov 21, 2026
Merged

TheAbubakrAbu merged 9 commits into
devfrom
785/missing-event-dates-bug

Conversation

@ChaoticallyAlys

@ChaoticallyAlys ChaoticallyAlys commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Event Cards now show "TBD" on missing times, and show at the bottom of the Events page. Clicking on Event Cards show "TBD" and remove the "add to calendar" button.

Changes

  • Edited isUpcomingEvent() to keep cards missing dates in funcs.ts

  • Added isValidDate() to funcs.ts

  • Replaced missing times and dates on event cards with placeholder "TBD" in event-card.tsx

  • Changed sorting to push all cards with missing dates and times to the end in Events page.tsx

  • Events Cards show "TBD" for time and date for both desktop and mobile

  • On mobile, calendar view displays missing date event cards under a "Date & Time TBD" section at the bottom of the list of upcoming events in mobile-list-view.tsx and mobile-list-event-row.tsx

  • Prevents showing TBD section when calendar section is clicked on Events page.tsx

Testing Instructions

Perform the following steps on both desktop and mobile:

  1. Navigate to the Peterplate Events page.
  2. Ensure that all events are ordered by date from soonest to latest, then cards missing dates.
  3. Scroll to the bottom of the events page to check if the cards missing dates display "TBD" for date and time. On mobile, cards missing dates are listeed under a section header labeled "TBD".
  4. Clicking on Events Cards show "TBD" for time and date for both desktop and mobile.
  5. On mobile, clicking on the date header does not show the missing events section.

Closes #785

@ChaoticallyAlys
ChaoticallyAlys temporarily deployed to staging-788 November 4, 2026 06:45 — with GitHub Actions Inactive
@github-actions
github-actions Bot temporarily deployed to staging-788 November 4, 2026 06:45 Inactive

@LexTruong LexTruong left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Yitong, great work on this! However, could you make changes to ensure that if we are given a start OR an end date/time for an event, we show what we do have? So for example, if we are given just the start date, show the start date instead of "TBD".

…s-bug

# Conflicts:
#	apps/next/src/app/events/page.tsx
#	apps/next/src/components/ui/card/event-card.tsx
#	apps/next/src/components/ui/event-dialog-content.tsx
#	apps/next/src/components/ui/event-drawer-content.tsx
#	apps/next/src/components/ui/mobile-list-event-row.tsx
#	apps/next/src/components/ui/mobile-list-view.tsx
#	apps/next/src/utils/funcs.ts
@TheAbubakrAbu
TheAbubakrAbu temporarily deployed to staging-788 November 21, 2026 21:41 — with GitHub Actions Inactive
@github-actions
github-actions Bot temporarily deployed to staging-788 November 21, 2026 21:42 Inactive
@TheAbubakrAbu
TheAbubakrAbu merged commit fab3f64 into dev Nov 21, 2026
2 checks passed
@TheAbubakrAbu
TheAbubakrAbu deleted the 785/missing-event-dates-bug branch November 21, 2026 21:46

This branch was successfully deployed

1 active deployment
staging-788 — e37b3b58 Deployed Nov 21, 2026 by TheAbubakrAbu via destroy #110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants